package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 工单挂起表
 * </p>
 *
 * @author WEN
 * @since 2024-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjWorkSuspend对象", description="工单挂起表")
public class ZjWorkSuspend implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "工单ID")
    private Long workId;

    @ApiModelProperty(value = "状态：0-正常，1-待审核，2-挂起中/审核通过，3-已驳回，4-已取消")
    private Integer status;

    @ApiModelProperty(value = "人员类型：1-系统客服，2-服务商负责人，3-工程师")
    private Integer applyEmpType;

    @ApiModelProperty(value = "人员ID")
    private Long applyEmpId;

    @ApiModelProperty(value = "申请人员")
    private String applyEmp;

    @ApiModelProperty(value = "申请原因备注")
    private String remark;

    @ApiModelProperty(value = "审核人员类型：1-系统客服，2-服务商负责人")
    private Integer checkEmpType;

    @ApiModelProperty(value = "审核人员ID")
    private Long checkEmpId;

    @ApiModelProperty(value = "审核人员")
    private String checkEmp;

    @ApiModelProperty(value = "审核时间")
    private Date checkTime;

    @ApiModelProperty(value = "审核备注")
    private String checkRemark;

    @ApiModelProperty(value = "重启时间/取消挂起时间")
    private Date restart;

    @ApiModelProperty(value = "创建时间/申请时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
